This is for people that want to host the masterserver on their webhost.

Requiered: PHP 4/5.

Version 1.5: bugfix release (03. september 2009)

Version 1.4 is a bugfix version of v1.3 which had issues with php5 and didn't work for some people
(blank pages and similar issues)

Just move the whole folder "iptocountry" to your web host and test it if it works:

http://your.host.domain/iptocountry/iptocountry14.php?ip=78.3.55.55

-> that should return something like this:
11:28 78.3.55.55:78-3-55-55.adsl.net.t-com.hr:CROATIA:HRV:hr

In order to add your server to IpToCountry.ini you need to know IP address of your host.
If you don't know it, do this: start->run->ping www.your.host.domain

The result would give you the IP:

Pinging www.iskon.hr [213.191.133.19] with 32 bytes of data:

Now open IpToCountry.ini and replace 

ConfQueryServers[0]=85.236.100.16,utgl.unrealadmin.org/iptocountry13.php

With:

ConfQueryServers[0]=IP_ADDRESS,your.host.domain/iptocountry/iptocountry14.php

Restart your UT server and join the game. If you see the flag it's fine. Open your
server's .log file and check if there had been any errors and switching to
backup server. If not, you have succeded.

--
To update the IP database download the latest GeoIP.dat.gz from
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz

or visit the original website:
http://www.maxmind.com/app/geoip_country

--

that's all, enjoy !

----
Support:

http://www.unrealadmin.org/forums/showthread.php?t=24812
----

Credits:

---
PJMODOS - modosutils daddy
Rush - IpToCountry daddy
Anthrax - IpToCountry-Masterserver daddy
[os]sphx - this build
---